package com.yhp.dao.impl;

import com.yhp.bean.Student;
import com.yhp.dao.StudentDao;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import static org.junit.jupiter.api.Assertions.*;

class StudentDaoImplTest {

    @Test
    void insert() {
        StudentDao s = new StudentDaoImpl();
        List<Student> l = new ArrayList<Student>();
        l = s.getStudents("","","男",1,5);
        System.out.println(l);
    }
    @Test
    void count() {
        StudentDao s = new StudentDaoImpl();
        //List<Student> l = new ArrayList<Student>();
        int l = s.total(null,null,"女");
        System.out.println(l);
    }

}